﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Winter.BackEnd.Models.Domain
{
    public class UserRoles
    {
        public static aspnet_Role Anonymous = Repository.CurrentDataContext.aspnet_Roles.Single(r => r.RoleName == "Anonymous");
        public static aspnet_Role Admin = Repository.CurrentDataContext.aspnet_Roles.Single(r => r.RoleName == "Admin");
        public static aspnet_Role Student = Repository.CurrentDataContext.aspnet_Roles.Single(r => r.RoleName == "Student");
        public static aspnet_Role Teacher = Repository.CurrentDataContext.aspnet_Roles.Single(r => r.RoleName == "Teacher");
        public static aspnet_Role ClassMonitor = Repository.CurrentDataContext.aspnet_Roles.Single(r => r.RoleName == "ClassMonitor");
    }
}
